package com.rm.zeyou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rm.zeyou.entity.GradeConfig;
import com.rm.zeyou.vo.response.TechnicianStatisticsResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 技师分成等级表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-03-20 15:14:10
 */
@Mapper
public interface GradeConfigMapper extends BaseMapper<GradeConfig> {
    TechnicianStatisticsResponseVo selectNextGrade(@Param("totalRevenue") BigDecimal totalRevenue);
}
